<script>
window.bar = "foo = " + window.foo;
</script>
